<?php

namespace plugin\voice\app\modelHandler;

class Base
{

    //const GREETING = "Hello, World!";
    protected $api = 'https://api.openai.com';

    protected $path = '/v1/chat/completions';

    protected $apikey = '';

    public function getApi()
    {
        
        [$schema, $host] = explode('://', $this->api, 2);
        
        return [$schema, $host];
    }
}